-- GENERATED SPELL FOR [Forsaken Seeker] --


function spell0_3732(pUnit, Event) --@Heal,Heal--
pUnit:FullCastSpellOnTarget(2054,pUnit)
pUnit:RegisterEvent('Sorts_3732', 3000, 1)
end

function spell1_3732(pUnit, Event) --@Holy Smite,n/a--
pUnit:FullCastSpellOnTarget(9734,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_3732', 2500, 1)
end

function Sorts_3732(pUnit, Event)
local choix_sorts_3732 = math.random(0, 1)
if choix_sorts_3732 == 0 then
pUnit:RegisterEvent('spell0_3732', 1, 1)
end
if choix_sorts_3732 == 1 then
pUnit:RegisterEvent('spell1_3732', 1, 1)
end
end

function mob3732_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3732', math.random(1500, 3000), 1)
end

function mob3732_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3732_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3732_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3732, 1, 'mob3732_Action')
RegisterUnitEvent(3732, 2, 'mob3732_Leave')
RegisterUnitEvent(3732, 3, 'mob3732_Kill')
RegisterUnitEvent(3732, 4, 'mob3732_Die')
